const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    configureWebpack: {
        resolve: {
            alias: {
                'components': '@/components',
                'content': 'components/content',
                'common': 'components/common',
                'assets': '@/assets',
                'network': '@/network',
                'views': '@/views',
            }
        }
    },
    /* 
        chainWebpack: (config) => {
            config.module
                .rule('css')
                .test(/\.css$/)
                .oneOf('vue')
                .resourceQuery(/\?vue/)
                .use('px2rem')
                .loader('px2rem-loader')
                .options({
                    remUnit: 75 // 75表示750的设计稿，37.5表示375的设计稿
                })
    
        } */
})